package com.project.webservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class TUser extends Model<TUser> {
    @TableId(type = IdType.ASSIGN_ID)
    private String uid;
    @TableField("pwd")
    private String pwd;
    @TableField("UserName")
    private String userName;
    @TableField("Role")
    private String role;
    @TableField("isRole")
    private Boolean isRole;
    @TableField("IsAdmin")
    private Boolean isAdmin;
    @TableField("UserType")
    private Integer userType;
}
